package com.glepoch.springbootsecuritymybatis.service.user;

import com.glepoch.springbootsecuritymybatis.bean.User;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/*
* 需要继承UserDetailsService接口才能让SpringSecurity登录认证生效
* */
public interface UserService  extends UserDetailsService {
    /*
     *
     * @author ygl
     * @description 分页查询客户列表
     * @date 2021/8/24/0024 20:02
     * @param user 用户数据
     * @return java.util.List<com.glepoch.springbootsecuritymybatis.bean.User>
     */
    List<User> findUserPage(User user);
}
